﻿namespace ZenSystemService.Api.DTOs
{
    public class AppletsUserPhoneRequest
    {
        public string code { get; set; }
    }


    public class AppletsUserPhoneReceive
    {
        //0= 成功
        public int errcode { get; set; }


        public string errmsg { get; set; }



        public AppletsUserPhoneInfo phone_info { get; set; }
    }

    public class AppletsUserPhoneInfo
    {
        /// <summary>
        /// 用户绑定的手机号（国外手机号会有区号）
        /// </summary>
        public string phoneNumber { get; set; }

        /// <summary>
        /// 没有区号的手机号
        /// </summary>
        public string purePhoneNumber { get; set; }

        /// <summary>
        /// 区号
        /// </summary>
        public string countryCode { get; set; }


        public AppletsUserPhoneWatermark watermark { get; set; }
    }
    public class AppletsUserPhoneWatermark
    {
        /// <summary>
        /// 用户获取手机号操作的时间戳
        /// </summary>
        public int timestamp { get; set; }

        /// <summary>
        /// 小程序appid
        /// </summary>
        public string appid { get; set; }
    }


}
